var express = require('express'),
	bodyParser = require('body-parser'),
	indexModule = require('../module/indexModule'),
	index = express();



index.get('/',function(req,res){
	indexModule.selectUser('zimu',function(err,data){
		if (err) {
			console.log(err);
		} else {
			
			res.render('index',{"user":"true","name":data[0].name});
		}
	})
});
 
function head(){

}



module.exports = index;